package com.ruoyi.biz.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 商品类别价格策略信息对象 biz_goods_category_strategy
 * 
 * @author tds
 * @date 2022-11-10
 */
public class BizGoodsCategoryStrategy extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 商品类别价格策略id */
    private Long strategyId;

    /** 商品类别id */
    @Excel(name = "商品类别id")
    private Long goodsId;

    /** 价格（元） */
    @Excel(name = "价格", readConverterExp = "元=")
    private BigDecimal price;

    /** 最小值 */
    @Excel(name = "最小值")
    private BigDecimal minVal;

    /** 最大值 */
    @Excel(name = "最大值")
    private BigDecimal maxVal;

    public void setStrategyId(Long strategyId) 
    {
        this.strategyId = strategyId;
    }

    public Long getStrategyId() 
    {
        return strategyId;
    }
    public void setGoodsId(Long goodsId) 
    {
        this.goodsId = goodsId;
    }

    public Long getGoodsId() 
    {
        return goodsId;
    }
    public void setPrice(BigDecimal price) 
    {
        this.price = price;
    }

    public BigDecimal getPrice() 
    {
        return price;
    }
    public void setMinVal(BigDecimal minVal) 
    {
        this.minVal = minVal;
    }

    public BigDecimal getMinVal() 
    {
        return minVal;
    }
    public void setMaxVal(BigDecimal maxVal) 
    {
        this.maxVal = maxVal;
    }

    public BigDecimal getMaxVal() 
    {
        return maxVal;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("strategyId", getStrategyId())
            .append("goodsId", getGoodsId())
            .append("price", getPrice())
            .append("minVal", getMinVal())
            .append("maxVal", getMaxVal())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
